// class FileItem {
//   final int id;
//   final String userName;
//   final String name;
//   final String path;
//   final int createdAt;
//   final String status;
//   String? errMsg;
//   String? content;
//   String? error;

//   FileItem({
//     required this.id,
//     required this.userName,
//     required this.name,
//     required this.path,
//     required this.createdAt,
//     required this.status,
//     this.errMsg,
//   });

//   FileItem copyWith({
//     String? userName,
//     String? name,
//     String? path,
//     int? createdAt,
//     String? status,
//     String? errMsg,
//     String? content,
//     String? error,
//   }) {
//     return FileItem(
//       id: id,
//       userName: userName ?? this.userName,
//       name: name ?? this.name,
//       path: path ?? this.path,
//       createdAt: createdAt ?? this.createdAt,
//       status: status ?? this.status,
//       errMsg: errMsg ?? this.error,
//     );
//   }
// }

class FileStatus {
  static const String pending = 'pending';
  static const String success = 'success';
  static const String failed = 'failed';
  static const String processing = 'processing';
}
